package com.shop.domain;

import java.util.List;

/**
 * 类别
 * 
 * @author wenjuanhenxing
 * @version V1.0 Category.java 2016-2-9 上午7:52:45
 */
public class Category {
	private Long id;

	/** 类目名称 */
	private String name;

	/** 父类编号 */
	private Long parentId;

	/** 子类编号 */
	private List<Long> sonCategory;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public List<Long> getSonCategory() {
		return sonCategory;
	}

	public void setSonCategory(List<Long> sonCategory) {
		this.sonCategory = sonCategory;
	}

}
